﻿<Window x:Class="SeleniumRecorder.GeneratePCode"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="GeneratePCode"  Height="300" Width="550" BorderBrush="Black" BorderThickness="2" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowStyle="None" Background="{DynamicResource WindowBackgroundBrush}">
    <Window.Resources>
        <LinearGradientBrush x:Key="WindowBackgroundBrush" StartPoint="0,0" EndPoint="0,1">
            <GradientStop Color="White" Offset="0.9"/>
            <GradientStop Color="#FF6A85D8" Offset="0.01"/>
            <GradientStop Color="#FF3464C4" Offset="1"/>
            <GradientStop Color="#FF202E7E" Offset="1"/>
        </LinearGradientBrush>
        <Style x:Key="closeButton"  TargetType="Button">
            <Setter Property="VerticalAlignment" Value="Top" />
            <Setter Property="FontFamily" Value="Verdana" />
            <Setter Property="FontSize" Value="9" />
            <Setter Property="FontWeight" Value="Bold" />
            <Setter Property="Foreground" Value="White" />
            <Setter Property="Cursor" Value="Hand" />
            <Setter Property="Margin" Value="15,7" />
            <Setter Property="Background" Value="{x:Null}" />
        </Style>

    </Window.Resources>
    <Window.Effect>
        <DropShadowEffect Color="Black"  BlurRadius="180"/>
    </Window.Effect>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="2*"/>
            <RowDefinition Height="9*"/>
        </Grid.RowDefinitions>
      

        <Button x:Name="btnClose"
           Grid.Row="0"  HorizontalAlignment="Right" VerticalAlignment="Top"
            Style="{StaticResource closeButton}"
            ToolTip="Close"
            Click="btnClose_Click_Close"
            Content="Close X" />

        <Grid Grid.Row="1">


            <Grid.RowDefinitions>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="1*"/>
                <RowDefinition Height="2*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="2*"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Center"  VerticalAlignment="Center" FontSize="18">Generate Code</Label>
            <Label Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">NameSpace :</Label>
            <TextBox Grid.Row="1" Margin="10" Grid.Column="1" Name="NameSpaceText"></TextBox>
            <Label Grid.Row="2" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center">ClassName :</Label>
            <TextBox Grid.Row="2" Margin="10" Grid.Column="1" Name="ClassNameText" ></TextBox>
            <Button Grid.Row="3"  Width="60" Margin="10" Height="30" HorizontalAlignment="Left" Click="Button_Click_Generate" Grid.Column="1">Generate</Button>
            <Button Grid.Row="4"  Width="60" Margin="80,0,0,0" Height="30" HorizontalAlignment="Left" Click="Button_Click_Cancel" Grid.Column="1">Cancel</Button>
        </Grid>
    </Grid>
</Window>
    
    
